﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="QuanLyKhoan.aspx.cs" Inherits="ThuChi.QuanLyKhoan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style16
        {
            text-align: center;
        }
        .style21
        {
            width: 229px;
        }
        .style23
        {
            width: 58%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:LinqDataSource ID="LinqDataSourceKhoan" runat="server" 
        ContextTypeName="ThuChi.DCThuChiDataContext" EntityTypeName="" 
        TableName="Khoans">
    </asp:LinqDataSource>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
    <ProgressTemplate>
    <div align="center" style="background-color: #FFFAFA">
        <img alt="" src="App_Images/loading_icon%20(2).gif" align="middle" />
    </div>
    </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <table align="center" border="1px" cellpadding="4" 
        style="border: thin solid #dbddff; width: 100%;" bgcolor="Snow">
        <tr>
            <td class="style16">
                <strong>KHOẢN</strong></td>
        </tr>
        <tr>
            <td style="border: 2px solid #dbddff;">
    <asp:GridView ID="grvTaiKhoan" runat="server" Width="100%" 
        AllowSorting="True" AutoGenerateColumns="False" CellPadding="6" 
        CssClass="DDGridView" 
        EnableModelValidation="False" ShowHeaderWhenEmpty="True" DataKeyNames="MaKhoan" 
        DataSourceID="LinqDataSourceKhoan">
        <Columns>
            <asp:BoundField DataField="TenKhoan" HeaderText="Tên khoản" 
                SortExpression="TenKhoan" >
            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="SoPhieu" HeaderText="Tổng số phiếu" 
                SortExpression="SoPhieu" >
            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="120px" 
                Wrap="True" />
            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="Ton" DataFormatString="{0:N0}" HeaderText="Tồn" 
                SortExpression="Ton" />
        </Columns>
        <FooterStyle CssClass="DDFooter" />
        <HeaderStyle HorizontalAlign="Center" CssClass="th" />
        <PagerSettings FirstPageImageUrl="~/DynamicData/Content/Images/PgFirst.gif" 
            FirstPageText="" LastPageImageUrl="~/DynamicData/Content/Images/PgLast.gif" 
            LastPageText="" Mode="NumericFirstLast" NextPageText="" PageButtonCount="8" 
            PreviousPageText="" />
        <PagerStyle CssClass="th" />
        <RowStyle CssClass="td" />
    </asp:GridView>
                </td>
        </tr>
    </table>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
